package com.wanxi.operator;


import java.util.Scanner;

public class OperatorScanner {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入整数");
        int i = scanner.nextInt();
        int geWei = i % 10;
        int shiWei = i / 10 % 10;
        int baiWei = i / 100 % 10;
        System.out.println("整数" + i + "的个位为：" + geWei);
        System.out.println("整数" + i + "的十位为：" + shiWei);
        System.out.println("整数" + i + "的百位为：" + baiWei);
        System.out.println("整数" + (i + 5));


    }
}
